package  
{
	import flash.display.MovieClip;
	import flash.events.Event;
	/**
	 * ...
	 * @author Thiago Árvore
	 */
	public class Main extends MovieClip
	{
		private var player:Player;
		
		public function Main() 
		{
			player = new Player(5, this);
			player.x = 0;
			player.y = this.stage.stageHeight - player.height;
			addChild(player)
			
			addEventListener(Event.ENTER_FRAME, update, false, 0, true)
		}
			
		public function update(e:Event):void
		{
			player.update();
		}
	}

}